package com.king.oom;

/**
 * VM Args: -Xss228k
 */
public class JavaVMStackSOF {

	private int stackLength = 1;

	public void stackLeak() {
		System.out.println(stackLength ++);
		stackLeak();
	}

	public static void main(String [] args) {
		JavaVMStackSOF sof = new JavaVMStackSOF();
		sof.stackLeak();
	}
}
